Icon:
With AECategoryDialog, your application can integrate a dialog box from which the user can select from OPC-A&E event categories provided by the OPC server:
The MultiSelect property determines whether the dialog allows the user to select multiple categories as output. The EventTypes property determines which event type(s) will be offered for selection.
Use the ServerDescriptor property to specify the OPC Alarms&Events server whose categories are to be browsed, and call the ShowDialog method. If the result is equal to DialogResult.OK, the user has finished the selection, and information about it can be retrieved.
When the dialog is in single-select mode, you can obtain the information about the selected category from the CategoryElement or CategoryId property. When the dialog is in multi-select mode, the information about the selected categories is in the CategoryElements and CategoryIds properties.
If you want to change the parameters of the client object the component uses to perform its OPC operations, you can use the ClientSelector Property.